package com.dayuanit.dy15.atm.service;

import com.dayuanit.dy15.atm.dto.CardFlowStatisticsDTO;
import com.dayuanit.dy15.atm.dto.FlowDTO;
import com.dayuanit.dy15.atm.holder.PageHolder;

import java.util.List;

public interface FlowService {

    PageHolder<List<FlowDTO>> listFlows(long userId, long cardId, int currentPage, int pageSize);

    List<FlowDTO> listTop10(long userId);

    List<FlowDTO> listCardFlow(long cardId, long userId);

    CardFlowStatisticsDTO loadCardStatisticData(long userId, long cardId);
}
